<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
 <%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>iChange - 注册</title>

		<link href="../skin/signup_files/register_new.css" rel="stylesheet"
			type="text/css">
		<script src="../skin/signup_files/ga.js" async="" type="text/javascript">
</script>
		<script src="../skin/signup_files/less-1.js" type="text/javascript"
			charset="utf-8">
</script>
	</head>
	<script src="../skin/signup_files/jquery-1.7.2.min.js" async=""
		type="text/javascript">
</script>
	<script src="../skin/signup_files/less-1.js" type="text/javascript"
		charset="utf-8">
</script>
	</head>

	<body id="register_via_email">
		<div class="main_content">
			<p class="reg_nav">
				<a class="backward" href="/">返回首页</a>&nbsp;•&nbsp;
				<a href="/login">登录</a>
			</p>

			<h1 style="margin-top: 84.3333px;" class="duobei_logo" id="logo">
				<a href="/" title="iChange"><img
						src="zgg/ichange-logo.png" />
				</a>
			</h1>
			
			<div class="reg_wrap cf" id="wrap" style="display: ;">

				<form action="/register" method="post" id="reg_form">

					<div class="reg_content cf" id="reg_content">

						<div class="reg_avatar fl" id="reg_avatar">
							<img src="zgg/face/default.png"
								height="100" width="100">
							<input value="509" name="avatarInfoId" id="avatar_id"
								type="hidden">

							<div style="display: none;" class="avatar_opr"
								style="margin-top: 10px;">

								<p id="avatar_upload" style="display: block; margin-top: 20px;">
									遇见新奇迹
									<br>
									期待新未来
								<div
									style="position: absolute; overflow: hidden; opacity: 0; width: 52px; height: 15px; z-index: 1; top: 403.75px; left: 515px;">
									<input multiple=""
										style="cursor: pointer; border: none; position: absolute"
										title="点击上传图片" type="file">
								</div>
								</p>
							</div>
						</div>

						<div class="reg_info_wrap fl">
							<div class="reg_info fl" id="reg_info">
					<s:if test="user != null">
					<div class="reg_error" id="reg_error" >
						<p class="error_wrap"><span id="account_error">${tm.message }</span></p>
						
					</div>
								
						</s:if>		
					
								
								
								<div class="reg_item input_text">
									<input id="register_nickname" name="user.name" maxlength="60"
										placeholder="名字" autocomplete="off" autofocus="" type="text" value="${user.name }" />
								</div>
								<div class="reg_item input_text">
									<input name="user.mail" id="username" maxlength="120"
										placeholder="邮箱" autocomplete="off" type="text" value="${user.mail }" />
								</div>
								<div class="reg_item input_text" style="background-color: ;width: 370px;">
									<input value="" name="user.pass" id="password" maxlength="20"
										placeholder="密码" autocomplete="off" type="password">
									
								</div>
								<div class="reg_item submit_item cf">
									<input class="fl" value="注册" type="submit">
									
								</div>
							</div>

							<div class="sys_avatar_wrap fl" id="sys_avatar_wrap"
								style="display: none;">
								<div class="avatar_tip" id="avatar_tip" style="display: none;">
									<p>
										<span>上传支持JPG、PNG、BMP格式，最大支持5M （最佳头像尺寸为 120x120 像素）</span>
									</p>
									<div class="avatar_tip_overlay"></div>
								</div>
								<div class="avatar_list">
									<div class="avatar_list_overlay"></div>
									<div class="avatar_list_content" id="avatar_list_content"></div>
								</div>
							</div>
						</div>
					</div>

				</form>
				<form enctype="multipart/form-data" action="/register/avatar/upload"
					method="post" id="uploadForm"></form>
			</div>
		</div>
		<script>

	
	</script>




		<script type="text/javascript">

//alert("ddddd" + $(".wrap1").css("display"));

var duobei = {};
duobei.contextPath = '';
duobei.avatarPath = 'http://avatar.duobei.com';
</script>
		<script src="../skin/signup_files/jquery-1.js" type="text/javascript"
			charset="utf-8">
</script>
		<script src="../skin/signup_files/jquery_004.js" type="text/javascript"
			charset="utf-8">
</script>
		<script src="../skin/signup_files/jquery_002.js" type="text/javascript"
			charset="utf-8">
</script>
		<script src="../skin/signup_files/jquery.js" type="text/javascript"
			charset="utf-8">
</script>
		<script src="../skin/signup_files/jquery_003.js" type="text/javascript"
			charset="utf-8">
</script><%--
		<script src="../skin/signup_files/register.js" type="text/javascript"
			charset="utf-8">
--%></script>
		<script src="../skin/signup_files/vertical_middle.js" type="text/javascript"
			charset="utf-8">
</script>
		<script type="text/javascript">
$(function() {
	//$('input').placeholder();
	//$('#register_via_email').isRegister().isVerticalMiddle();
});
</script>

	</body>
</html>